package com.wanmait.baohan.service;

import com.github.pagehelper.PageInfo;
import com.wanmait.baohan.pojo.BookingCarApplication;
import com.wanmait.baohan.pojo.CarApproval;

public interface BookingCarService extends CommonService<BookingCarApplication> {

    PageInfo<BookingCarApplication> selectMyCarApplications(Integer page, Integer limit, BookingCarApplication bookingCarApplication);

    PageInfo<BookingCarApplication> selectMyCarApplicationsList(Integer page, Integer limit, BookingCarApplication bookingCarApplication);
    PageInfo<BookingCarApplication> selectAllCarApplicationsList(Integer page, Integer limit, BookingCarApplication bookingCarApplication);
    BookingCarApplication findByIdCar(BookingCarApplication bookingCarApplication);
    void submitApproval(CarApproval carApproval);
}
